﻿body
{
    background-color: #5c87b2;
    font-size: .85em;
    font-family: Verdana, Helvetica, Sans-Serif;
    margin: 0;
    padding: 0;
    color: #1D5987;
}

a:link
{
    font-size: 1em;
    color: #696969;
    text-decoration: underlink;
}

a:visited
{
    font-size: 1em;
    color: #696969;
}

a:hover
{
    font-size: 1em;
    color: #696969;
    text-decoration: none;
}

a:active
{
    color: #696969;
}

p, ul
{
    padding-bottom: 5px;
    line-height: 1.6em;
}

header, footer, nav, section
{
    display: block;
}
hr
{
    margin: 18px;
    border: 0.5px solid #C5DBEC;
}

/* HEADINGS   
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6
{
    font-size: 1.2em;
    color: #000;
}

h1
{
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2
{
    padding: 0 0 10px 0;
}

h3
{
    font-size: 1.2em;
}

h4
{
    font-size: 1.1em;
}

h5, h6
{
    font-size: 1em;
}
img
{
    border: 0px solid #fff;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */
.page
{
    min-width: 1150px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.main_fieldset
{
    border: 1px solid #C5DBEC;
    padding: 1.4em;
    margin: 0 0 1.5em 0;
    min-height: 390px;
}

.main_fieldset .main_legend
{
    font-size: 1em;
    color: #2E6E9E;
    font-weight: bold;
}

header, #header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

header h1, #header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    line-height: 2em;
    font-size: 20px !important;
    text-shadow: 1px 1px 2px #111;
}

#main
{
    background: #ffffff;
    padding: 30px 30px 15px 30px;
    border: 1px solid #79B7E7;
    border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    -moz-border-radius: 4px 4px 4px 4px;
    margin-bottom: 15px;
    min-height: 450px;
}

footer, #footer
{
    background-color: #fff;
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0 0 30px 0;
    font-size: .9em;
    border-radius: 0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
}



/* TAB MENU   
----------------------------------------------------------*/
ul#menu
{
    padding: 0 0 0px;
    position: relative;
    margin: 0;
    text-align: right;
}

ul#menu li
{
    display: inline;
    list-style: none;
}

ul#menu li#greeting
{
    padding: 10px 10px;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a
{
    padding: 0px 0px;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #e8eef4;
    color: #2E6E9E;
    border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
}

ul#menu li a:hover
{
    background-color: #fff;
    text-decoration: none;
}

ul#menu li a:active
{
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a
{
    background-color: #fff;
    color: #000;
}

#subMenu
{
    margin: 10px;
}
#btnCreate
{
    float: right;
}


/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    border: 1px solid #C5DBEC;
    padding: 0 1.4em 0em 1.4em;
    margin: 0 0 1.5em 0;
}

legend
{
    font-size: 0.9em;
    color: #E17009;
    font-weight: normal;
}

textarea
{
    min-height: 75px;
    background-color: #F4F9FF;
}

input[type="text"], input[type="password"], input[type="number"]
{
    padding: 5px;
    border: 1px solid #a6c9e2;
    font-size: 1em;
    color: #1D5987;
    width: 200px;
    background-color: #F4F9FF;
}

select
{
    padding: 5px;
    border: 1px solid #a6c9e2;
    font-size: 1em;
    color: #1D5987;
    min-width: 150px;
    background-color: #F4F9FF;
}

input[type="submit"]
{
    font-size: 0.9em;
}

/* TABLE
----------------------------------------------------------*/

table
{
    font-size: 0.8em;
    border: solid 1px #e8eef4;
    border-collapse: collapse;
}

.smallTable td, .smallTable th
{
    font-size: 0.85em;
}

table td
{
    padding-left: 10px;
    padding-right: 10px;
    border: solid 1px #e8eef4;
}

table th
{
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    text-align: center;
    background-color: #e8eef4;
    border: solid 1px #E17009;
    font-weight: normal;
    color: #E17009;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

.error
{
    color: Red;
}

nav
{
    margin-top: 40px;
}
#menucontainer
{
    margin-top: 10px;
    margin-bottom: 10px;
}

#logindisplay
{
    font-size: 1.1em;
    margin: 10px;
    color: #E17009;
    float: left;
}

#logindisplay a:link
{
    color: #E17009;
    text-decoration: underline;
}

#logindisplay a:visited
{
    color: #E17009;
    text-decoration: underline;
}

#logindisplay a:hover
{
    color: white;
    text-decoration: none;
}

/* Styles for validation helpers
-----------------------------------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label
{
    font-size: 0.9em;
    margin: 1em 0 0 0;
}

.display-field, .editor-field
{
    font-size: 0.9em;
    margin: 0.5em 0 0 0;
}

.text-box
{
    font-size: 0.9em;
    width: 30em;
}

.text-box.multi-line
{
    font-size: 0.9em;
    height: 6.5em;
}

.tri-state
{
    font-size: 0.9em;
    width: 6em;
}



/*My styles*/

/*------------------------------------------*/
/* Распределение нагрузки по преподавателям */
/*------------------------------------------*/
#distributionWraper
{
    min-height: 350px;
    padding: 0px;
    overflow: auto;
}
#distrSpan, #notDistrSpan, #teacherSpan
{
    margin: 10px;
    float: left;
}
#notDististributionLoadTree
{
    min-width: 350px;
    padding: 20px;
    border: 1px solid #5c87b2;
    min-height: 300px;
    font-size: 0.8em;    
}
#dististributionLoadTree
{
    min-width: 350px;
    min-height: 300px;
    padding: 20px;
    border: 1px solid #5c87b2;
    font-size: 0.8em;
}
#teacherList
{
    min-height: 300px;
    float: right;
    padding: 10px;
}
.teacher
{
    width: 180px;
}


/*--------------------------------------*/
/* Создание элемента раскладки нагрузки */
/*--------------------------------------*/

#createAllocationWraper
{
    min-height: 600px;
    font-family: Verdana,Lucida Sans,Arial,sans-serif;
    color: #2E6E9E;
}
#chooseSPI
{
    min-width: 300px;
    margin: 10px;
    min-height: 50px;
}
#chooseSPI fieldset
{
    margin-bottom: 0px;
}
#subWraper
{
    margin: 10px;
    height: 200px;
}
#chooseSPIList
{
    float: left;
    height: 200px;
    width: 60%;
}
#chooseGroups
{
    float: right;
    height: 200px;
    width: 38%;
}
#getFactors
{
    padding: 0px;
    margin: 10px;
}
#getFactors fieldset
{
    margin-bottom: 0px;
}
#getFactors fieldset label
{
    font-size: 0.9em;
}
#chooseDivision
{
    height: 125px;
    margin: 10px;
}
#divButtons
{
    text-align: center;
    margin: 10px;
}
#createAllocationWraper fieldset #StudyPlanItem
{
    width: 55%;
}
#dialog_chooseSPIForm fieldset select
{
    width: 300px;
}
#checkboxChooseSPI, #checkboxChooseGroups
{
    height: 150px;
    overflow: auto;
    border: 1px solid #a6c9e2;
    background-color: #F4F9FF;
    font-size: 0.9em;
}
#checkboxChooseSPI, #checkboxChooseGroups
{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
#checkboxChooseSPI li, #checkboxChooseGroups li
{
    margin: 0;
    padding: 0;
}
#checkboxChooseSPI li label, #checkboxChooseGroups li label
{
    display: block;
    color: #1D5987;
    margin: 0;
    padding: 0;
    padding-left: 10px;
    width: 100%;
}
#checkboxChooseSPI li label:hover, #checkboxChooseGroups li label:hover
{
    background-color: #fbec88;
    color: #1D5987;
}
.factor
{
    margin: 5px;
}
.factor input[type='text']
{
    width: 65px;
}
#paramsDivPractice
{
    float: left;
    width: 49%;
}
#paramsDivLabs
{
    float: right;
    width: 49%;
}





